using ORMAC.Attributes;
using System.Runtime.Serialization;
using System;
namespace Northwind
{
	/// <summary>
	/// Auto generated class by ORMAC from Orders table
	/// </summary>
	[Table("Orders")]
	[DataContract]
	public class OOrders
	{
        [PrimaryKey]
        [Field("OrderID")]
        [DataMember]
        public int OrderID
        {
            get;
            set;
        }
        [Field("OrderDate")]
		[DataMember]
		public DateTime OrderDate{
			get;
			set;
		}
		[Field("ShippedDate")]
		[DataMember]
		public DateTime ShippedDate{
			get;
			set;
		}
		[DataMember]
		[Join(ParentCol="CustomerID",ChildCol="CustomerID")]
		public OCustomers Customer {
			get;
			set;
		}

	}
}
